Skip to content

Migrate to pyproject.toml to improve build compatibility.#61

Merged
DanielTOsborne merged 5 commits intoUSACE-WaterManagement:mainfrom
DanielTOsborne:build-changes
Nov 18, 2025
Merged

Migrate to pyproject.toml to improve build compatibility.#61
DanielTOsborne merged 5 commits intoUSACE-WaterManagement:mainfrom
DanielTOsborne:build-changes

Conversation

@DanielTOsborne
Copy link
Collaborator

Existing setup.py build fails when referencing this project as a source project in requirements.txt.
Also prevents pip install . from working.

Migrate build system to pyproject.toml, which is the recommended modern way, to fix this behavior.

NOTE: Not included is a fix for locations.py which references non-existent code, and prevents this from working without edits.

Copy link
Collaborator

@MikeNeilson MikeNeilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we also need an update for read-the-docs, but that's also a separate issue.

@DanielTOsborne
Copy link
Collaborator Author

Looks like the public CDA instance now uses a newer TLS version, which is incompatible with default python 3.8 & 3.9.
I've removed those versions from testing support. 3.9 is EOL anyway.

@DanielTOsborne DanielTOsborne merged commit 1a4236b into USACE-WaterManagement:main Nov 18, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants